import exceljs from "exceljs";

const workbook = new exceljs.Workbook();

const worksheet = workbook.addWorksheet("测试");
worksheet.getCell("A1").value = "测试2";

async function test() {
  await workbook.xlsx.writeFile("d:/temp/test.xlsx");
}

test();